{* $Id: select_user.html 22501 2013-04-08 07:47:41Z weisd $ *}
<div class="select-member">
  <div class="searchBox">
    <div class="user-search">
      {if $selected_id}
        {user_helper::get_selected_user_html($selected_id)}
      {/if}
      <input type="text" name="" class="in" />
      <input type="hidden" name="role_id" value="{$role_id}" />
      <input type="hidden" class="max_select_num" name="max_select_num" value="{$max_select_num}" />
      <span class="down fetchUser" data-url="{$smarty.const.SITE_URL}/user/api/get_list?role_id={$role_id}&max_select_num={$max_select_num}"></span>
    </div>
    <div class="submenu"></div>
    <ol class="suggest"></ol>
  </div>
  {AnForm class="selectId" type="hidden" name=$name value="{if is_array($selected_id)}{implode(',', $selected_id)}{else}$selected_id{/if}" validate="{$required}"}
</div>
{load_js file="select_user.js"}